export default {
    edges: [
        {
            endPoint: { index: 0, x: 177, y: 144 },
            id: '2cRcTFcjSvA',
            source: '1Bh5pmj0001',
            sourceAnchor: 1,
            startPoint: { index: 0, x: 340, y: 87 },
            target: '1Bh5pmj0002',
            targetAnchor: 0,
        },
        {
            endPoint: { index: 0, x: 466, y: 145 },
            id: '2cReskb6m66',
            source: '1Bh5pmj0001',
            sourceAnchor: 1,
            startPoint: { index: 0, x: 340, y: 87 },
            target: '1Bh5pmj0003',
            targetAnchor: 0,
        },
        {
            endPoint: { index: 0, x: 413, y: 408 },
            id: '2cRfg8kpLbC',
            source: '1Bh5pmj0004',
            sourceAnchor: 2,
            startPoint: { index: 2, x: 236, y: 373 },
            target: '1Bh5pmj0005',
            targetAnchor: 0,
        },
        {
            endPoint: { index: 0, x: 331, y: 237 },
            id: '2LW9XBHj9z0',
            source: '1Bh5pmj0003',
            sourceAnchor: 1,
            startPoint: { index: 1, x: 466, y: 180 },
            target: '1Bh5pmj0006',
            targetAnchor: 0,
        },
        {
            endPoint: { index: 0, x: 206, y: 338 },
            id: '2LW9Y9p58Hs',
            source: '1Bh5pmj0006',
            sourceAnchor: 1,
            startPoint: { index: 1, x: 300, y: 272 },
            target: '1Bh5pmj0004',
            targetAnchor: 0,
        },
        {
            endPoint: { index: 1, x: 474, y: 408 },
            id: '2LW9YwA3SXi',
            source: '1Bh5pmj0006',
            sourceAnchor: 2,
            startPoint: { index: 2, x: 361, y: 272 },
            target: '1Bh5pmj0005',
            targetAnchor: 1,
        },
        {
            endPoint: { index: 0, x: 273, y: 521 },
            id: '2LWaaPfkM1S',
            source: '1Bh5pmj0005',
            sourceAnchor: 2,
            startPoint: { index: 2, x: 444, y: 443 },
            target: '1Bh5pmj0007',
            targetAnchor: 0,
        },
        {
            endPoint: { index: 0, x: 549, y: 522 },
            id: '2LWaq1SeQEa',
            source: '1Bh5pmj0005',
            sourceAnchor: 2,
            startPoint: { index: 2, x: 444, y: 443 },
            target: '1Bh5pmj0008',
            targetAnchor: 0,
        },
        {
            endPoint: { index: 0, x: 559, y: 631 },
            id: '2LWaqwekph7',
            source: '1Bh5pmj0008',
            sourceAnchor: 1,
            startPoint: { index: 1, x: 549, y: 557 },
            target: '1Bh5pmj0009',
            targetAnchor: 0,
        },
    ],
    nodes: [
        { busData: { name: 'select_dataset', subType: 'dataset', type: 'metadata' }, formData: {}, id: '1Bh5pmj0001', label: '聚类特征选择', x: 340, y: 70 },
        {
            busData: { name: 'correlation', subType: 'null', type: 'statistic_analysis' },
            formData: {},
            id: '1Bh5pmj0002',
            label: '特征相关性分析',
            x: 177,
            y: 162,
        },
        {
            busData: { name: 'minmax_scaler_vector', subType: 'data_quantization', type: 'data_preprocess' },
            formData: { outputCol: 'features' },
            id: '1Bh5pmj0003',
            label: '特征归一向量化',
            x: 466,
            y: 163,
        },
        {
            busData: { name: 'kmeans', subType: 'clustering', type: 'algorithm_model' },
            formData: { vectorCol: 'features', k: 'auto' },
            id: '1Bh5pmj0004',
            label: 'KMeans聚类训练',
            x: 206,
            y: 356,
        },
        {
            busData: { name: 'prediction', subType: 'null', type: 'algorithm_model' },
            formData: { predictionCol: 'pred' },
            id: '1Bh5pmj0005',
            label: '聚类预测',
            x: 444,
            y: 426,
        },
        {
            busData: { name: 'data_split', subType: 'null', type: 'data_preprocess' },
            formData: { fraction: 0.5 },
            id: '1Bh5pmj0006',
            label: '数据拆分',
            x: 331,
            y: 255,
        },
        {
            busData: { name: 'eval_cluster', subType: 'evaluate', type: 'algorithm_model' },
            formData: { vectorCol: 'features', predictionCol: 'pred' },
            id: '1Bh5pmj0007',
            label: '聚类评估',
            x: 273,
            y: 539,
        },
        {
            busData: { name: 'group_rename', subType: 'finished', type: 'virtual' },
            formData: { groupCols: [], labelCol: 'pred', _dimensionName: '群组维度' },
            id: '1Bh5pmj0008',
            label: '群组命名',
            x: 549,
            y: 540,
        },
        {
            busData: { name: 'export_database', subType: 'database', type: 'export' },
            formData: { tableName: 'pia_clustering_1bh5pmjf001' },
            id: '1Bh5pmj0009',
            label: '生成数据集',
            x: 559,
            y: 649,
        },
    ],
};
